package indi.zhifa.recipe.bailan.framework.web.common.config.swagger;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Description:
 * @Copyright: Copyright (c) 2020-2028 北京华咨电力科技发展有限公司 All rights reserved.
 * @author: 褚智勇(hataksumo@163.com)
 * @date:  2021/12/2 14:04
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {
    /**
     * 是否启用swagger
     */
    private boolean enable = true;
    /**
     * swagger 组名
     */
    private String groupName = "业务接口";
    /**
     * 扫描包配置
     */
    private String apiPackage = "indi.zhifa.**.controller";
    /**
     * 路径正则
     */
    private String apiRegex = "/api/**";
    /**
     * 系统标题
     */
    private String title = "业务接口";
    /**
     * 系统描述
     */
    private String description = "业务接口文档";
    /**
     * 系统版本
     */
    private String version = "1.0.0";
    /**
     * 联系人姓名
     */
    private String name = "芝法酱";
    /**
     * 联系人邮箱
     */
    private String email = "hataksumo@163.com";
    /**
     * 联系人地址
     */
    private String url = "https://github.com/hataksumo";
}
